/* reset.css */
* {
    margin: 0;
    padding: 0;

}

body {
    /* font-family: 'Segoe UI', Helvetica, Arial, sans-serif; */
    font-family: 'Source Sans Pro', sans-serif;
    background: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}

body a {
    text-decoration: none;
    outline: none;
    transition: 0.5s all;
}

input,textarea {
    outline: none;
}

input:focus,textarea:focus {
    outline: none;
}

ul li {
    list-style: none;
}

body a:hover {
    text-decoration: none;
}

body a:focus {
    outline: none;
    text-decoration: none;
}

/* style.css */
.sidenav {
    height: 100%;
    width: 320px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(12, 12, 12, 1);
    z-index: 1;
    overflow-x: hidden;
    padding-top: 15px;
}

@media screen and (max-width:768px) {
    .sidenav {
        width: 100%;
        height: 60%;
        position: relative;
    }
}

@media (max-height:450px) {
    .sidenav {
        padding-top: 15px;
    }
}

.nav-top {
    padding: 1em ;

}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.top-left {
    padding: 0 15px;
    position: relative;
    
}


.top-left img {
    width: 71px;
    height: 71px;
    border-radius: 50%;
    margin:0 auto;
    vertical-align: middle;
    border-style: none;
    max-width: 100%;
    cursor: pointer;
    

}

.top-right {
    padding: 0;
}

.top-right h6 {
    color: #ff4f81;
    font-weight: 600;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 1px;
    padding: 12px 32px 0 12px ;
    text-align: right;  
    margin-left: 8px;  
}

.top-right p {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 1px;
    padding: 8px 32px 0 12px ;
    text-align: right; 
    margin-left: 8px;  
}

.nav-content {
    padding-top: 64px;
}

@media (min-width:768px) {
    .md{
        padding-left: 48px !important;
        padding-right: 48px !important;
    }
}

.mnu {
    text-align: right;
    margin: 0 auto;

}

nav ul {
    position: relative;
}

.menu .select a {
    color: #ff4f81;
}

nav a {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1.5px;
    color: #fff;
    text-transform: uppercase;
}

nav a:hover {
    color: #ff4f81;
}

@media (min-width: 576px) {
    .menu-part {
        margin-bottom: 22px;
    }
}

/* menu 媒体查询 */
.toggle {
    display: none;
}

@media (min-width:768px) {
    .change {
        display: block !important;
    }
}

@media (max-width:768px) {
    .toggle {
        display: inline-block;
        cursor: pointer;
        padding: 8px 20px;
        font-size: 15px;
        font-family: 'Source Sans Pro', sans-serif;
        font-weight: 600;
        border: none;
        outline: none;
        background-color: #fff;
        color: #333;
        margin: 0 20px 20px 0;

    }

    .change {
        display: none;
    }

    .change ul li {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
}



.main-page {
    margin-left: 320px;
    /* box-sizing: border-box; */
}

.banner-content1 {

    background: url("../images/QQ图片20200626004317.jpg") no-repeat center;
    width: 100%;
    height: 100vh;
    background-size: cover;
}

.banner-content2 {
    background: url("../images/QQ图片20200626011522.jpg") no-repeat center;
    width: 100%;
    height: 100vh;
    background-size: cover;
    display: none;
}
.banner-content3 {
    background: url("../images/QQ图片20181217212333.jpg") no-repeat center;
    width: 100%;
    height: 100vh;
    background-size: cover;
    
    display: none;
}
.banner-content4 {
    background: url("../images/banner2.jpg") no-repeat center;
    width: 100%;
    height: 100vh;
    background-size: cover;
    display: none;
}

.home-p .box {
    position: relative;
    width: 100%;
    height: 100vh;
}

#list {
    position: absolute;
    width: 100%;
    height: 100vh;
}

#list .cover,#prev,#next {
    position: absolute;
}

.home-p button,.arrow button {
    width: 50px;
    height: 50px;
    outline: none;
    border: none;
    margin-top: -22.5px;
    z-index: 100;
    background-color: rgba(0,0,0,.25);
    color: #eee;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.5s;

}

.home-p button:hover {
    background-color: rgba(0,0,0,.45);
    
}

#prev {
    top: 60px;
    right: 120px;
}

#next {
    top: 60px;
    right: 60px;
}

.icon-jiantou2 {
    font-weight: 700;
    font-size: 24px !important;
}

#next .icon-jiantou2,#next_ab .icon-jiantou2 {
    display: inline-block;
    -moz-transform:scaleX(-1);
    -webkit-transform:scaleX(-1);
    -o-transform:scaleX(-1);
    transform:scaleX(-1);
}

.container {
    display: inline-block;
    text-align: right;
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    z-index: 10;

}

.container .h-title {
    height: 48px;
    line-height: 48px;
    text-transform: capitalize;
    font-size: 48px;
    font-weight: 700;
    color: rgba(248, 248, 248, 0.9);
    letter-spacing: 2px;
}

.container .h-text {
    margin-top: 15px;
    font-size: 18px;
    letter-spacing: 1px;
    color: rgba(243, 243, 243, 0.75);

}

.container .text-center a {
    margin-top: 20px;
    display: inline-block;
    padding: 10px 20px;
    color: rgba(243, 243, 243, .7);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 14px;
    background: none;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 3px;
}

.container .text-center a:hover {
    color: #fff;
    background: #ff4f81;
    border:1px solid #ff4f81;
}


#about {
    padding-left: 44px;
    padding-right: 44px;
    padding-bottom: 120px;
    /* border-bottom: 1px solid #eee; */
}

.content-page {
    padding-top: 80px;
    position: relative;
    width: 100%;
    display: inline-block;
    height: auto;
    /* text-align: center; */
    left: 50%;
    box-sizing: border-box;
    transform: translateX(-50%);
}

.content-page .title h3 {
    font-weight: 100;
    color: #483949;
    font-size: 45px;
    letter-spacing: 2px;
    line-height: 60px;
    margin-bottom: 90px;
    text-align: center;
}

/* #list_ab {
    display: flex;
   flex-wrap: wrap;
   justify-content:space-between;
} */

#list_ab .i-text {
    display: inline-block;
    width: 264px;
    margin-right: 30px;
   
    
}

.outer {
    position: relative;
    overflow: hidden;
}

.inner {
    font-size: 0;
    width: 2963px;
}

.wrap{
    display: inline-block;
    position: relative;
    vertical-align: top;
}

.inner .i-text {
    position: relative;
}

.i-text img {
    display: inline-block;
    width: 264px;
    
}

.i-text p {
    display: inline-block;
    font-size: 15px;
    font-weight: lighter;
    color: #483949;
    letter-spacing: 1px;
    margin-bottom: 12px;
    margin-top: 12px;
    text-indent: 2em;
}

.arrow {
    position: absolute;
    display: inline-block;
    top: 170px;
    right: 42px;
}

.arrow button i {
    color: #333;
    transition: all 0.5s;
}

.arrow button:hover i {
    color: #fff;
    
}

.arrow button {
    background-color: #eee;
    transition: all 0.5s;
}

.arrow button:hover {
    background-color:#ff4f81;
    
    
}

#prev_ab {
    margin-right: 5px;
}

#btn_ab {
    margin-top: 30px;
    text-align: center;
}

#btn_ab span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #999;
    margin-right: 7px;
    cursor: pointer;
}

#btn_ab .select_ab {
    background-color: #ff4f81;
    transition: all 0.5s;
}

#work,#contact,#blog {
    padding-left: 42px;
    padding-right: 42px;
    padding-bottom: 120px;
    background-color: #F4F4F4;
}


/* 媒体查询 main-page布局 */
@media screen and (max-width:768px) {
    .main-page {
        margin-left: 0;
        width: 100% ;
    }
}

.w-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.work-p {
    text-align: center;
}

.w-row .item {
    position: relative;
    /* width: 100%; */
    padding-left: 15px;
    padding-right: 15px;
    display: inline-block;
}

.w-row .item h4 {
    letter-spacing: 2px;
    color: #483949;
    
    text-align: center;
    padding: 20px 0;
    font-size: 22px;
    font-weight: 100;
    margin: 0;
}

.item-top {
    display: inline-block;
    box-shadow: 0 0 10px 1px rgba(74, 74, 74, 0.1);
    text-align: center;
    width: 250px;
    margin-bottom: 40px;
    background-color: rgb(252, 252, 252);
    transition: all 1s;
}

.item-top:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px 1px rgba(74, 74, 74, 0.3);
}


.item-wrap a img {
    width: 250px;
}

.item-wrap {
    width: 250px;
    display: inline-block;
}

@media (max-width:768px) {
    .item-wrap {
        width: auto;
       
    }

    .w-row .item {
        /* text-align: center; */
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
        
    }

    .item-wrap .up {
        margin-right: 15px;
    }

    .item-wrap .down {
        margin-left: 15px;
    }
}

/* contact-page */
#contact {
    padding-bottom: 40px;

}

.contact-p .title h3 {
    margin-bottom: 60px;
}
.contact-p .title p {
    font-size: 23px;
    line-height: 40px;
    letter-spacing: 2px;
    color: #483949;
    font-weight: lighter;
    word-break: break-all;
    text-indent: 2em;
    margin-bottom: 48px;
}

.contact-p .content {
    margin: 0 auto;
    text-align: center;
}

.contact-left,.contact-right {
    display: inline-block;
    width: 50%;
}

.contact-left {
    float: left;
}

.contact-right {
    float: right;
}

.contact-p .content::after {
    content: "";
    display: table;
    clear: both;
}

.contact-right form div input,.contact-right form div textarea {
    width: 220px;
    font-size: 14px;
    color: #777;
    letter-spacing: 1px;
    padding: 15px;
    border: 1px solid rgba(80, 78, 78, 0.25);
    border-radius: 3px;
    outline: none;
    margin-bottom: 15px;
    background-color:rgba(255, 255, 255, 0.9);
    font-weight: lighter;
}

/* webkit内核的浏览器chrome 伪元素改placeholder */
::-webkit-input-placeholder {
    color: #999;
    font-size: 14px;
    font-weight: lighter;
    font-family: 'Source Sans Pro', sans-serif;
}

/* IE浏览器 */
:-ms-input-placeholder {
    color: #999;
    font-size: 14px;
    font-weight: lighter;
    font-family: 'Source Sans Pro', sans-serif;
}

/* firefox */
::-moz-placeholder { 
    color: #999;
    font-size: 15px;
    font-weight: lighter;
    font-family: 'Source Sans Pro', sans-serif;
}

.contact-right form div label {
   
    color: #483949;
    letter-spacing: 1px;
    font-size: 18px;
    line-height: 40px;
    cursor: pointer;
    display: block;
}


.contact-right form .message label {
    vertical-align: top;
   
    
}

.contact-right form div textarea {
    resize:none; 
    margin-top: 0; 
    overflow:hidden;
}

.contact-p .contact-right form div .sub-c {
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    border: 1px solid #ff4f81;
    outline: none;
    background-color: #ff4f81;
    color: #fff;
    letter-spacing: 2px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.5s;
}
.contact-p .contact-right form div .sub-c:hover {
    background-color:rgba(255, 255, 255, 0.9);
    border: 1px solid #333;
    color: #333;
    
}

.contact-p .content {
    
    padding-bottom: 80px;
    border-bottom:1px solid rgba(224, 223, 223, 1);
    position: relative;
}



.copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    color: #999;
    letter-spacing: 2px;
    
}

.sub-box {
    position: fixed;
    display: none;
    
    width: 356px;
    height: 220px;
    z-index: 999;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin:auto;
    
    
}

.box-wrap {
    position: relative;
    width: 356px;
    height: 220px;
    border-radius: 4px;
    background-color: #ff4f81;
    box-shadow:0 0 10px 1px rgba(80, 78, 78, 0.25);
    animation: Move 0.8s;
}

@keyframes Move {
    from {
        top:-356px;
        opacity: 0;
    }
    to {
        top: 0;
        opacity: 1;
    }
    
}

.sub-box .header {
    text-align: center;
}

.sub-box .header p {
    display: inline-block;
    margin-top: 15px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #eee;
    
}

.sub-box .header #closeBtn,.sub-box .header #theBtn {
    display: inline-block;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    line-height: 20px;
    font-weight: 700;
    cursor: pointer;
    color: #eee;
    transition: all 0.5s;

}

.sub-box .header #closeBtn:hover,.sub-box .header #theBtn:hover {
    color: #333;
}

.sub-box .info p {
    font-size: 21px;
    color: #eee;
    margin-top: 10px;
    letter-spacing: 1px;
    text-indent: 2em;
    padding: 15px;
    word-break: break-all;
    
}

.contact-p .contact-left  {
    position: relative;
    height: 611px;
   
}

.contact-p .contact-left .contact-list {
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.contact-p .contact-left ul {
    display: inline-block;
    margin-top: 30px;
}



.contact-p .contact-left li {
    padding: 40px;
    text-align: left;
}

.contact-p .contact-left li i {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    font-size: 40px;
    color: #483949;
}

.contact-p .contact-left li span {
    color: #483949;
    font-size: 20px;
    font-weight:lighter;
    letter-spacing: 2px;
}

/* blog页面 */
#blog {
    background-color: #fff;
}

#blog .tabs {
    list-style: none;
    height: 80px;
    width: 100%;
    background-color: #EEEEEE;
    border-bottom: 10px solid #ff4f81;
}

#blog .tabs li {
    width: 25%;
    text-align: center;
    float: left;
    margin: 0;
    padding: 0;
}

#blog .tabs li a {
    display: block;
    text-align: center;
    text-decoration: none;
    letter-spacing: 2px;
    color: #333;
    font-size: 22px;
    line-height: 80px;
    font-weight: 600;
    transition:all 0.3s;
    
}

#blog .tabs li:hover a{
    color: #ff4f81;
} 

#blog .tabs .active a {
    background-color: #ff4f81;
    color: #fff;
}

#blog .tabs .active:hover a {
    color: #fff;
}

#blog .tabgroup {
    background-color: #f4f4f4;
    padding: 20px 30px;
}

.tabgroup ul li {
    display:inline-block;
    text-align: left;
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(219, 219, 219);
}

.tabgroup ul li img {
    width: 306px;
    height: 230px;
    float: left;
    margin-right: 30px;
    overflow: hidden;
    /* max-width: 100%; */
    vertical-align: middle;
    border: 0;
}

.tabgroup .text-content h4 {
    font-size: 21px;
    line-height: 21px;
    letter-spacing: 1px;
    /* margin-top: 8px; */
    padding-top: 8px;
    margin-bottom: 5px;
    color: #333;   
}

.tabgroup .text-content span {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #7a7a7a;
    letter-spacing: 1px;
    margin-top: 3px;
    margin-bottom: 12px;
}

.tabgroup .text-content p {
    font-size: 16px;
    letter-spacing: 1px;
    color: #483949;
    line-height: 24px;
    font-weight: lighter;

}

#blog .tabgroup .text-content .button {
    margin-top: 25px;
}

#blog .tabgroup .text-content .button a {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    height: 42px;
    line-height: 42px;
    padding: 0 18px;
    color: #fff;
    background-color: #ff4f81;
    border:1px solid #ff4f81;
    border-radius: 3px;
    font-weight: 600;
    transition: all 0.5s;
}

#blog .tabgroup .text-content .button a:hover {
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
    

}

/* #blog .tabgroup .text-content .button a {
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    height: 42px;
    line-height: 42px;
    padding: 0 18px;
    color: #483949;
    
    border: 1px solid #483949;
    border-radius: 3px;
    font-weight: 600;
    transition: all 0.5s;
}

#blog .tabgroup .text-content .button a:hover {
    background-color:#ff4f81;
    border: 1px solid #ff4f81;
    color: #fff;
} */













    

